<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        body {
            background-color: rgb(168, 168, 168);
        }
        
        .box {
            width: 250px;
            height: 500px;
            border-left: 250px solid black;
            background-color: #fff;
            margin: auto;
            border-radius: 50%;
            position: relative;
            animation-name: move1;
            animation-duration: 0.6s;
            animation-iteration-count: infinite;
        }
        
        .box::before {
            content: '';
            display: inline-block;
            width: 70px;
            height: 70px;
            background-color: #fff;
            border: 90px solid black;
            border-radius: 50%;
            position: absolute;
            top: 0;
            left: -125px;
            /* animation-name: move1;
            animation-duration: 0.8s;
            animation-iteration-count: infinite;
            animation-timing-function: linear; */
        }
        
        .box::after {
            content: '';
            display: inline-block;
            width: 70px;
            height: 70px;
            background-color: rgb(0, 0, 0);
            border: 90px solid rgb(255, 255, 255);
            border-radius: 50%;
            position: absolute;
            bottom: 0;
            left: -125px;
            /* animation-name: move1;
            animation-duration: 0.8s;
            animation-iteration-count: infinite; */
        }
        
        @keyframes move1 {
            0% {}
            25% {
                transform: rotate(90deg);
            }
            50% {
                transform: rotate(180deg);
            }
            75% {
                transform: rotate(270deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
    </style>
</head>

<body>
    <div class="box"></div>
</body>

</html>